From: Benjamin Otte Date: Sun, 8 May 2022 03:49:40 +0000 (+0200) Subject: listitemmanager: Clarify warning X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~4^2~193^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=61bb9bb935519fb9383289ff81ee9375fd3edaa8;p=gtk4.git listitemmanager: Clarify warning Lars doesn't have an opinion on this problem anymore. And when people see this warning, they should know what to do. --- diff --git a/gtk/gtklistitemmanager.c b/gtk/gtklistitemmanager.c index bfc6860293..004b09cf56 100644 --- a/gtk/gtklistitemmanager.c +++ b/gtk/gtklistitemmanager.c @@ -1074,7 +1074,7 @@ gtk_list_item_manager_release_list_item (GtkListItemManager *self, { if (!g_hash_table_replace (change, gtk_list_item_widget_get_item (GTK_LIST_ITEM_WIDGET (item)), item)) { - g_warning ("FIXME: Handle the same item multiple times in the list.\nLars says this totally should not happen, but here we are."); + g_warning ("Duplicate item detected in list. Picking one randomly."); } return;